package com.shundr.auth.frame.util;

import android.content.Context;
import android.widget.Toast;

/**
 * 
 * ToastHelper
 * 
 * @author larry 2015-4-10 下午6:17:47
 * @version 1.0.0
 * 
 */
public class ToastHelper {

	public static void toastShort(Context context, String msg) {
		try {
			Toast.makeText(context, msg, Toast.LENGTH_SHORT).show();
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

	public static void toastLong(Context context, String msg) {
		try {
			Toast.makeText(context, msg, Toast.LENGTH_LONG).show();
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
}
